<?php include 'application/views/header.php' ?>

<!-- PAGE REGISTRY -->
<div id="page-registry" class="page-content" >
    <div class="content-box user-registry">
        <h1>Create a new or reset a forgotten Password</h1>
        <!-- content -->
        <div class="user-registry-content clr">
           <form id="frmRegistry" method="post" class="address-form" 
           action="<?php echo site_url() ?>dang-ky.html">
                <p>
                Please enter your email address and we will send you a verification email. 
                When received, please click on the verification link to reset your password.
                </p>
                <p>
                NOTE: Emails are delivered from sales@email.pctools.com, 
                please ensure you mark them as a safe sender if you are using an email blocker 
                or anti-spam software.If you don't receive this email in the next few minutes, 
                please check your junk mail folder.
                </p>
                
                <div class="form-registry-content">
                    <div class="flash-message"><?php echo $this->session->flashdata('message_email') ?></div>
                    <div class="text">
                        <span>
                            <label id="label-email" for="field1" class="inlined" style="opacity: 1; ">Địa chỉ Email</label>
                            <input class="input-text" type="text" name="Email" id="Email"/>
                        </span>
                    </div>
                    
                    <!-- Button set -->
                    <div class="button-set">
                        <input type="submit" value="Đăng ký"/>
                        <a href="javascript:history.go(-1)" >Trở về</a>
                    </div>
                    <div class="clr"></div>
                </div>
           </form>
        </div>
    </div>
</div>

<?php include 'application/views/footer.php' ?>

<script type="text/javascript">
$('#Email').focus(function(){
    $('#label-email').html('');
});
$('#frmRegistry').validate({
   rules: {
        Email : {
            required: true,
            email: true
        }
   },
   messages: {
        Email : ''
   } 
});
</script>